<?php

class Whitelist
{
	protected $iFeedId = null;
	
	protected $aIncludedSKU = array();
	
	protected $bIncludeDeactivated = false;
	
	public function __construct($iFeedId)
	{
		$this->iFeedId = $iFeedId;
	}
	
	public function includeSKU($iSKU)
	{
		if (!in_array($this->aIncludedSKU, $iSKU))
			$this->aIncludedSKU[] = $iSKU;
	}
	
	public function includeManySKU(array $aSKU)
	{
		foreach ($aSKU as $iSKU)
			$this->includeSKU($iSKU);
	}
	
	public function includeInactive()
	{
		$this->bIncludeDeactivated = true;
	}
}